/*
 * @Description: 首页相关接口
 */
import http from "@/http/request.js"

// 获取个人信息
const getPersonalInformation = (data = {}) => {
	return http.post('/user/getPersonalInformation', data, {
		isloading: true
	})
}


// 首页中部统计数据
const statistics = (data = {}) => {
	return http.post('/user/statistics', data, {
		isloading: true
	})
}

// 首页轮播图
const lunboList = (data = {}) => {
	return http.post('/user/lunboList', data, {
		isloading: true
	})
}

// 首页用户订单
const orderList = (data = {}) => {
	return http.post('/user/orderList', data, {
		isloading: true
	})
}





export default {
	getPersonalInformation,
	statistics,
	lunboList,
	orderList
}
